﻿@model MrCMS.Tasks.ScheduledTask
@{ Layout = "~/Areas/Admin/Views/Shared/_LayoutPopup.cshtml";}
@using (Html.BeginForm("Edit", "Task", FormMethod.Post))
{
    <fieldset>
        <legend>
            @Resource("Admin Tasks Edit", "Edit task")
            <span class="btn-group  display-inline  pull-right">
                <input type="submit" class="btn-primary btn" value="@Resource("Save")" />
            </span>
        </legend>
        <div class="form-group">
            @Html.LabelFor(task => task.Type)
            @Html.DisplayFor(task => task.Type)
        </div>
        <div class="form-group">
            @Html.LabelFor(task => task.EveryXSeconds)
            @Html.TextBoxFor(task => task.EveryXSeconds, new { @class = "form-control" })
            @Html.ValidationMessageFor(task => task.EveryXSeconds)
        </div>
</fieldset>
}